home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Form1
- Caption = "Form1"
- ClientHeight = 2310
- ClientLeft = 900
- ClientTop = 1680
- ClientWidth = 3675
- Height = 2715
- HelpContextID = 1000
- Left = 840
- LinkTopic = "Form1"
- ScaleHeight = 2310
- ScaleWidth = 3675
- Top = 1335
- Width = 3795
- Begin CheckBox chkTipToggle
- Caption = "Show Tips ?"
- Height = 255
- HelpContextID = 1004
- Left = 120
- TabIndex = 0
- Tag = "This is a really big Check Box with some really long ToolTips"
- Top = 120
- Width = 1455
- End
- Begin ListBox List1
- Height = 1395
- HelpContextID = 1002
- Left = 1740
- TabIndex = 1
- Top = 120
- Width = 1815
- End
- Begin CommandButton Command1
- Caption = "Command1"
- Height = 975
- HelpContextID = 1003
- Left = 120
- TabIndex = 3
- Tag = "This is a Command Button"
- Top = 1080
- Width = 1455
- End
- Begin TextBox Text1
- Height = 375
- HelpContextID = 1001
- Left = 1740
- TabIndex = 2
- Text = "Text1"
- Top = 1680
- Width = 1815
- End
- Option Explicit
- 'See comments in TIPDEMO.BAS
- Sub chkTipToggle_Click ()
- Select Case chkTipToggle.Value
- Case 0 'Unchecked
- Call dutip_SuspendTips
- Case 1 'Checked
- Call dutip_ResumeTips(0, 0) 'use default intervals
- Case Else
- End Select
- End Sub
- Sub Form_QueryUnload (Cancel As Integer, UnloadMode As Integer)
- If UnloadMode <> 1 Then 'via code
- Cancel = True
- Call EndMain
- End If
- End Sub
-